package com.zyc.eduservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zyc
 * @create 2022-03-02-11:18
 */
@Component
@FeignClient(name="service-order")
public interface OrderClient {
    @GetMapping("eduorder/t-order/isBuyCourse/{memberid}/{id}")
    public boolean isBuyCourse(@PathVariable("memberid") String memberid,
                               @PathVariable("id") String id);
}
